package world.snowcrystal.Enum;

public enum ChatroomMessageCodeEnum {

    NORMAL(0),
    LEAVE(1),
    ENTER(2),
    ANNOUNCEMENT(3),
    KEEP_ALIVE(4);

    private final Integer code;

    ChatroomMessageCodeEnum(Integer code) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

}
